Base validation framework for agent API use. Generic interface supporting validation of different content types.